//
//  LBCategorySectionView.h
//  jslj
//
//  Created by luckyRoy on 2017/10/10.
//  Copyright © 2017年 广东联结电子商务有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+FacMethods.h"

typedef void(^LBCategorySectionViewBlock)(BOOL isShowEditor);

@interface LBCategorySectionView : UIView

@property (nonatomic, strong, readonly) UIButton *editorButton;//default hidden

- (void)updateUIByTopTitle:(NSMutableAttributedString *)topHeaderTitle
                OtherTitle:(NSMutableAttributedString *)categoryTitle
               categoryUrl:(NSString *)url;

@property (nonatomic, copy) LBCategorySectionViewBlock viewBlock;

@property (nonatomic, assign) BOOL isEditor;//是否可编辑(完成为可编辑状态)

+ (CGFloat)heightForViewTopState:(BOOL)isTopTitle
                   categoryState:(BOOL)isCategoryTitle;

@end
